<script setup lang="ts">
import { http } from '@/services/http';
import { reactive } from 'vue';

const pagination = reactive({
  //分页相关模型数据
  nationality: '',
  currentPage: 1, // 当前页码
  pageSize: 10, // 每页显示的记录数
  total: 60, // 总记录数
  queryString: '', // 查询条件
});


</script>

<template>
  <div class="home">
    <img alt="logo" class="logo" src="@/assets/csust.svg" />
    <div class="slogan">
      Welcome To kuaikuai<br />
      CSUST Used Book<br />
      PLatform
    </div>
    <div class="bg"></div>
  </div>
</template>

<style lang="less">
.home {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  box-sizing: border-box;
}
.logo {
  width: 300px;
  height: 300px;
  margin-right: 40px;
}

@keyframes hue-rotate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

.slogan {
  font-size: 80px;
  color: orange;
  line-height: 1.5;
  text-shadow: 1px 1px 5px #666;
  text-align: center;
  font-weight: 600;
  animation: hue-rotate 10s infinite;
  font-family: 'Gill Sans', sans-serif;
}
.bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: url(@/assets/banner.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px);
  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
  }
}
</style>
